﻿namespace Msung.Core
{
    public static class ProducersTopicalName
    {
        public static string  WIPDataTopicPrefix = "WIPData:";
        public static string  TopicPrefix = "TW_JT_{0}_LOTDATA";
        public static Dictionary<ProcessEnum, string> ProcessTopic = new Dictionary<ProcessEnum, string>();

        static ProducersTopicalName()
        {
            ProcessTopic.Add(ProcessEnum.ZR, string.Format("TW_JT_ZR_LOTDATA",ProcessEnum.ZR.ToString()));
            ProcessTopic.Add(ProcessEnum.KS, string.Format("TW_JT_ZR_LOTDATA", ProcessEnum.KS.ToString()));
            ProcessTopic.Add(ProcessEnum.YH, string.Format("TW_JT_ZR_LOTDATA", ProcessEnum.YH.ToString()));
            ProcessTopic.Add(ProcessEnum.JP, string.Format("TW_JT_ZR_LOTDATA", ProcessEnum.JP.ToString()));
            ProcessTopic.Add(ProcessEnum.TH, string.Format("TW_JT_ZR_LOTDATA", ProcessEnum.TH.ToString()));
        }

    }
}
